using System;
using Mono.Fuse;

namespace CouchFS
{
	class MainClass
	{

		
		public static void Main (string[] args)
		{
			using (CouchFS fs = new CouchFS ()) {
				
				string[] unhandled = fs.ParseFuseArguments (args);
				foreach (string key in fs.FuseOptions.Keys) {
					Console.WriteLine ("Option: {0}={1}", key, fs.FuseOptions [key]);
				}
				if (!fs.ParseArguments (unhandled))
					return;
				// fs.MountAt ("path" /* , args? */);
				fs.Start ();
			}
		}
	}
}
